package com.bookshop.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * ClassName: Book
 * Package: com.bookshop.entity
 * Description:
 *
 * @Author BJX
 * @Create 2024/1/18 9:32
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Book {
    private Long id;
    private String bookName;
    private String author;
    private LocalDate publishDate;
    private int pages;
    private BigDecimal price;
    private String picture;
    private int sellingStatus;//0表示下架，1表示在售
    private String content;

    private String publish;//出版社
    private String categoryName;//二级分类
    private Integer bookNums;//图书数量
}